﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace GameSchoolApplication.Models
{
	public class Comment
	{
		[Key]
		public int CommentId { get; set; }
		public string Content { get; set; }
		public int AuthorId { get; set; }
		public int VideoId { get; set; }
		public DateTime CommentDate { get; set; }

		[ForeignKey("AuthorId")]
		public virtual Person Author { get; set; }

		[ForeignKey("VideoId")]
		public virtual Video Video { get; set; }

		public virtual ICollection<Like> Likes { get; set; }
		public virtual ICollection<SuperLike> SuperLikes { get; set; }
	}
}